package com.kgc.xsProvider.dao;

import com.kgc.basic.util.ResponseMsg;
import com.kgc.xs.pojo.SalesQuotes;
import com.kgc.xs.pojo.SalesQuotesDetail;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;
import java.util.Map;

public interface SalesQuotesMapper {


    List<SalesQuotes> selectSalesQuotesByPage(Map<String, Object> map);


    int insertSalesQuotes(SalesQuotes salesQuotes);


    int updateSalesQuotes(SalesQuotes salesQuotes);


    int deleteSalesQuotes(Map<String, Object> map);


    List<SalesQuotesDetail>  selectSalesQuotesDetailByPage( Map<String, Object> map);


    int insertSalesQuotesDetail(SalesQuotesDetail salesQuotesDetail);


    int updateSalesQuotesDetail( SalesQuotesDetail salesQuotesDetail);


    int deleteSalesQuotesDetail(Map<String, Object> map);

    int selectSalesQuotesCount();

    SalesQuotes selectSalesQuotesByCode(String doCode);

    List<SalesQuotesDetail>  selectSalesQuotesDetailByCode(String doCode);

    int check(Map<String, Object> map);

    List<SalesQuotes> selectSalesQuotesByCid(int cid);



}
